package com.xywl.escort.bean;

import com.bigkoo.pickerview.model.IPickerViewData;

import java.util.List;

/**
 * Created by 32422 on 2018/3/16.
 */

public class JsonCityBean implements IPickerViewData{

    public String code;
    public String name;
    public List<ChildrenBeanX> children;

    @Override
    public String getPickerViewText() {
        return this.name;
    }

    public static class ChildrenBeanX {
        public String code;
        public String name;
        public List<ChildrenBean> children;

        public static class ChildrenBean {
            public String code;
            public String name;
        }
    }
}
